#include "translate.h"


void translate::getRotateYMatrix(float angle, glm::mat3* m)
{
	glm::mat3& r = *m;

	r[0][0] = r[2][2] = cos(angle);
	r[0][2] = r[2][0] = sin(angle);
	r[0][1] = r[1][0] = r[1][2] = r[2][1] = 0;
	r[1][1] = 1;
	r[0][2] = -r[0][2];
}

